import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useResultDataStore = defineStore('resultdata', () => {
  const resultData = ref({})
  const setResultData = (data) => {
    resultData.value = data
  }
  return {
    resultData,
    setResultData
  }
}, {
  persist: true
})